package basic.arch.component.lock.distributed.mysql.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface LockMapper {

    public Long selectIdByType(@Param("type")String type);
    
    public int insert(Lock lock);

    public int deleteByType(@Param("type")String type);

    public List<Lock> findAll();
}
